home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Communication / NewsBase / Source / common.subproj / dbg.m < prev    next >
Text File  |  1993-01-12  |  278b  |  20 lines

  1. #import <objc/objc.h>
  2. #import <objc/Object.h>
  3.  
  4. id    ck_class[64];
  5. SEL    ck_selector[64];
  6. int    ck_level=1;
  7.  
  8. int ck_dbg (int flag, id obj_id, SEL selector)
  9. {
  10.     id        class;
  11.     
  12. /*    class = [obj_id class]; */
  13.     
  14.     if (flag<=ck_level) {
  15.     return 1;
  16.     } else {
  17.     return 0;
  18.     }
  19. }
  20.